package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 单位基础对象 base_company
 *
 * @author ruoyi
 * @date 2022-10-09
 */
public class BaseCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String companycode;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyname;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCompanycode(String companycode)
    {
        this.companycode = companycode;
    }

    public String getCompanycode()
    {
        return companycode;
    }
    public void setCompanyname(String companyname)
    {
        this.companyname = companyname;
    }

    public String getCompanyname()
    {
        return companyname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companycode", getCompanycode())
            .append("companyname", getCompanyname())
            .append("remark", getRemark())
            .toString();
    }
}
